﻿using QuickGraph;

namespace BizControl.Presentation.Infrastructure.Controls.Graph
{
  public class GraphEdge : Edge<GraphVertex>
  {
    public GraphEdge(string id, GraphVertex source, GraphVertex target)
      : this(id, null, source, target)
    {
    }

    public GraphEdge(string id, object data, GraphVertex source, GraphVertex target)
      : base(source, target)
    {
      ID = id;
      Data = data;
    }

    public string ID
    {
      get;
      private set;
    }

    public object Data
    {
      get;
      private set;
    }

  }
}
